import request from '@/utils/request'

// 查询参数列表
export function listSuggestList(query) {
  return request({
    url: '/suggestApi/getSuggestLists',
    method: 'get',
    params: query
  })
}
export function changeStatus(id, status) {
  const data = {
    id,
    status
  }
  return request({
    url: '/suggestApi' +
      '/changeStatus',
    method: 'put',
    data: data
  })
}
export function getImg(id) {
  return request({
    url: '/suggestApi/getImg/'+ id,
    method: 'get'
  })
}
